//
//  LatestCollectionViewCell.h
//  项目一
//
//  Created by 王鑫 on 15/11/12.
//  Copyright (c) 2015年 王鑫. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MJRefresh.h"
#import "LatestModel.h"

@protocol LatestCollectionViewCellDelegate <NSObject>

- (void)LatestPushToWeb:(LatestModel *)model;

@end

@interface LatestCollectionViewCell : UICollectionViewCell<UITableViewDataSource, UITableViewDelegate, UIScrollViewDelegate>

@property(nonatomic, retain) id<LatestCollectionViewCellDelegate>latestDelegate;
@property(nonatomic, retain) UITableView *tableView;
@property(nonatomic, retain) NSMutableArray *arr;
@property(nonatomic, retain) NSMutableArray *scrollerArr;
@property(nonatomic, retain) UIScrollView *scrollViewPic;
@property(nonatomic, retain) UIPageControl *page;

@property(nonatomic, retain) NSString *pageNumber;
@property(nonatomic, retain) NSMutableArray *latestArr;
@property(nonatomic, strong) NSMutableArray *tempArr;

@property(nonatomic, retain) MJRefreshNormalHeader *header;
@property(nonatomic, retain) MJRefreshAutoFooter *footer;
@property(nonatomic, retain) NSTimer *timer;

@end
